import { Moment } from 'moment';

export interface IDeliverOffer {
    id?: number;
    userId?: number;
    from?: string;
    toPl?: string;
    location?: string;
    leaveDate?: Moment;
    arriveDate?: Moment;
    transportType?: string;
    status?: string;
    createdDate?: Moment;
}

export class DeliverOffer implements IDeliverOffer {
    constructor(
        public id?: number,
        public userId?: number,
        public from?: string,
        public toPl?: string,
        public location?: string,
        public leaveDate?: Moment,
        public arriveDate?: Moment,
        public transportType?: string,
        public status?: string,
        public createdDate?: Moment
    ) {}
}
